<?php
namespace Model\Loader;

/**
 *
 * @author pahhan
 */
interface LoaderInterface
{
    /**
     * Returns content from given url
     * @param string $url
     * @param string $charset
     * @return string
     */
    public function getSource($url, $charset);

    /**
     * Returns Symfony Crowler object created from given url
     * @param string $url
     * @param string $charset
     * @return \Symfony\Component\DomCrawler\Crawler
     */
    public function getCrawler($url, $charset);
}